<?php

namespace Wechat\Controller;

use Wechat\Data\FrameData;
use Yj\Apidog\Annotation\FormData;

class BaseController
{
    public function analysisFrameData($data):FrameData
    {
        $result = json_decode($data, true);
        return  FrameData::setData($result);
    }
}